package com.sangachy.stg;

import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Files.FileType;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.scenes.scene2d.Actor;

public class WordsManager extends Actor {

	private BitmapFont font;
	public WordsManager(){
		super();
		font = new BitmapFont(Gdx.files.getFileHandle("data/font.fnt", FileType.Internal), Gdx.files.getFileHandle(
				"data/font.png", FileType.Internal), false);
	}
	@Override
	public void draw(SpriteBatch batch, float parentAlpha) {
		font.drawMultiLine(batch, "FPS:"
				+Gdx.graphics.getFramesPerSecond(), 60, 60);
	}

	@Override
	public boolean touchDown(float x, float y, int pointer) {
		return false;
	}

	@Override
	public void touchUp(float x, float y, int pointer) {
	}

	@Override
	public void touchDragged(float x, float y, int pointer) {
	}

	@Override
	public Actor hit(float x, float y) {
		return null;
	}

}
